package com.neusoft.po;

import java.util.ArrayList;
import java.util.List;

/**
 * @author chj
 * @date 2024年9月7日
 */
public class BusinessGet {
	private Integer businessId;
	//private Integer businessPassword;
	private String businessName;
	private String businessAddress;
	private String businessExplain;
	private String businessImg;
	private Integer orderTypeId;
	private Double starPrice;
	private Double deliveryPrice;
	private String remarks;
	private List<Food> foodList = new ArrayList<Food>();

	//构建返回项
	public BusinessGet(Business b) {
		// TODO Auto-generated constructor stub
		this.businessId = b.getBusinessId();
		this.businessName = b.getBusinessName();
		this.businessAddress = b.getBusinessAddress();
		this.businessExplain = b.getBusinessExplain();
		this.businessImg = b.getBusinessImg();
		this.orderTypeId = b.getOrderTypeId();
		this.starPrice = b.getStarPrice();
		this.deliveryPrice = b.getDeliveryPrice();
		this.remarks = b.getRemarks();
		this.foodList = b.getFoodList();
	}

	public List<Food> getFoodList() {
		return foodList;
	}

	public void setFoodList(List<Food> foodList) {
		this.foodList = foodList;
	}

	public Integer getBusinessId() {
		return businessId;
	}

	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getBusinessAddress() {
		return businessAddress;
	}

	public void setBusinessAddress(String businessAddress) {
		this.businessAddress = businessAddress;
	}

	public String getBusinessExplain() {
		return businessExplain;
	}

	public void setBusinessExplain(String businessExplain) {
		this.businessExplain = businessExplain;
	}

	public String getBusinessImg() {
		return businessImg;
	}

	public void setBusinessImg(String businessImg) {
		this.businessImg = businessImg;
	}

	public Integer getOrderTypeId() {
		return orderTypeId;
	}

	public void setOrderTypeId(Integer orderTypeId) {
		this.orderTypeId = orderTypeId;
	}

	public Double getStarPrice() {
		return starPrice;
	}

	public void setStarPrice(Double starPrice) {
		this.starPrice = starPrice;
	}

	public Double getDeliveryPrice() {
		return deliveryPrice;
	}

	public void setDeliveryPrice(Double deliveryPrice) {
		this.deliveryPrice = deliveryPrice;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
}
